package com.asset.salesforce.domain;
import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
@SuppressWarnings("serial")
@Entity
@Table(name="chatter_contribution")
public class ChatterContribution implements Serializable{
	
	
	private Integer id;
	
	private Integer countPosts;
	
	private Integer countComments;
	
	private Integer countRecivedComments;
	
	private Integer countRecivedLikes;
	
	private Integer empId;

	/**
	 * @return the id
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE ,generator="chatter_contribution_id_seq")
	@SequenceGenerator(name="chatter_contribution_id_seq",sequenceName="chatter_contribution_id_seq",allocationSize=1)
	public Integer getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the countPosts
	 */
	@Column(name="count_posts")
	public Integer getCountPosts() {
		return countPosts;
	}

	/**
	 * @param countPosts the countPosts to set
	 */
	public void setCountPosts(Integer countPosts) {
		this.countPosts = countPosts;
	}

	/**
	 * @return the countComments
	 */
	@Column(name="count_comments")
	public Integer getCountComments() {
		return countComments;
	}

	/**
	 * @param countComments the countComments to set
	 */
	public void setCountComments(Integer countComments) {
		this.countComments = countComments;
	}

	/**
	 * @return the countRecivedComments
	 */
	@Column(name="count_recieved_comments")
	public Integer getCountRecivedComments() {
		return countRecivedComments;
	}

	/**
	 * @param countRecivedComments the countRecivedComments to set
	 */
	public void setCountRecivedComments(Integer countRecivedComments) {
		this.countRecivedComments = countRecivedComments;
	}

	/**
	 * @return the countRecivedLikes
	 */
	@Column(name="count_recieved_likes")
	public Integer getCountRecivedLikes() {
		return countRecivedLikes;
	}

	/**
	 * @param countRecivedLikes the countRecivedLikes to set
	 */
	public void setCountRecivedLikes(Integer countRecivedLikes) {
		this.countRecivedLikes = countRecivedLikes;
	}

	/**
	 * @return the empId
	 */
	@Column(name="emp_id")
	public Integer getEmpId() {
		return empId;
	}

	/**
	 * @param empId the empId to set
	 */
	public void setEmpId(Integer empId) {
		this.empId = empId;
	}
	
	

}
